package controller.action.user;

import java.util.ArrayList;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import controller.action.Action;
import controller.action.ActionForward;

public class ListUser implements Action{

	@Override
	public ActionForward execute(HttpServletRequest request,
			HttpServletResponse response) throws Exception {
		
		ArrayList<String> list = new ArrayList<String>();
		for(int i=0;i<100;i++){
			list.add("Yes_"+i);
		}
		
		request.setAttribute("data", list);
		
		return new ActionForward("/listuser.jsp" , false);
		
	}

}
